package com.mutual.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.mutual.system.user.pojo.User;

@RestController
public class WebTestController {

	@RequestMapping(value="/appUser/get/{id}",method=RequestMethod.GET)
	public User get(@PathVariable("id") int id){
		User user=new User();
		user.setId(1);
		user.setUserName("张三");
		return user; 
	}
}
